/**
 * 
 */
package com.googlecode.pcapj;

/**
 * Represents a Ethernet packet.
 */
public interface EthernetPacket extends Packet{
	/**
	 * Gets the MAC address of the destination.
	 * @return the MAC address.
	 */
	public MACAddress getDestination();
	/**
	 * Gets the MAC address of the source.
	 * @return the MAC address.
	 */
	public MACAddress getSource();
	/**
	 * Gets the frame type.
	 * @return the frame type.
	 */
	public short getFrameType();
	/**
	 * Gets the frame data.
	 * @return the frame data.
	 */
	public byte[] getFrameData();
	/**
	 * Retrieves the packet of the Network Layer from the frame data.
	 * @return the packet of the Network Layer.
	 */
	public Packet getNetworkLayerPacket();
}
